PhpOffice\PhpSpreadsheet\Calculation\Calculation D

Total Complexity 527
Dependencies 14
Dependents 25
Total lines 4,424
Lines of code 1,487
Logical lines of code 1,023
Comment lines 662
Methods 54
Properties 31

Methods 54

Method Rating Maintainability Complexity Lines of code
_parseFormula()
D
8
114 268
processTokenStack()
D
7
102 321
executeBinaryComparisonOperation()
D
31 42 99
setLocale()
B
38 19 65
executeNumericBinaryOperation()
B
41 19 51
calculateCellValue()
A
41 15 55
_calculateFormulaValue()
A
44 15 41
resizeMatricesExtend()
A
49 15 34
resizeMatricesShrink()
A
50 15 30
extractNamedRange()
A
45 10 42
validateBinaryOperand()
A
50 11 26
showTypeDetails()
A
50 10 27
showValue()
A
50 10 26
convertMatrixReferences()
A
47 9 36
extractCellRange()
S
49 7 30
checkMatrixOperands()
S
53 7 22
_translateFormulaToEnglish()
S
53 7 21
_translateFormulaToLocale()
S
53 7 21
unwrapResult()
S
62 8 10
calculateFormula()
S
54 6 21
translateSeparator()
S
55 6 19
wrapResult()
S
61 6 11
translateFormula()
S
54 5 21
getInstance()
S
62 5 12
dataTestReference()
S
60 4 13
localeFunc()
S
60 4 13
parseFormula()
S
62 4 11
getMatrixDimensions()
S
58 3 15
setArrayReturnType()
S
65 4 9
isImplemented()
S
70 3 5
getImplementedFunctionNames()
S
65 3 9
loadLocales()
S
64 3 9
getValueFromCache()
S
64 3 9
saveValueToCache()
S
74 2 5
calculate()
S
69 2 7
renameCalculationCacheForWorksheet()
S
70 2 6
clearCalculationCacheForWorksheet()
S
73 2 5
raiseFormulaError()
S
67 2 8
strcmpLowercaseFirst()
S
72 1 5
getFunctions()
S
81 1 3
flushInstance()
S
82 1 3
getDebugLog()
S
82 1 3
__clone()
S
80 1 3
getTRUE()
S
79 1 3
setCalculationCacheEnabled()
S
77 1 4
getFALSE()
S
79 1 3
getArrayReturnType()
S
80 1 3
getCalculationCacheEnabled()
S
82 1 3
enableCalculationCache()
S
81 1 3
mkMatrix()
S
81 1 3
disableCalculationCache()
S
81 1 3
clearCalculationCache()
S
81 1 3
getLocale()
S
81 1 3
__construct()
S
69 1 6